﻿using Microsoft.EntityFrameworkCore;
using Abp.Zero.EntityFrameworkCore;
using Project.Authorization.Roles;
using Project.Authorization.Users;
using Project.MultiTenancy;
using Project.Entities;

namespace Project.EntityFrameworkCore
{
    public class ProjectDbContext : AbpZeroDbContext<Tenant, Role, User, ProjectDbContext>
    {
        /* Define a DbSet for each entity of the application */

        public ProjectDbContext(DbContextOptions<ProjectDbContext> options)
            : base(options)
        {
        }

        public virtual DbSet<Person> Person { get; set; }

        public virtual DbSet<Dept> Dept { get; set; }

        public virtual DbSet<WorkStockOutBill> WorkStockOutBill { get; set; }

        public virtual DbSet<WorkStockOutBillDetail> WorkStockOutBillDetail { get; set; }
    }
}
